package com.lcj.OwnerMyBatis.sqlSession;

import com.lcj.OwnerMyBatis.pojo.Configuration;
import com.lcj.OwnerMyBatis.pojo.MappedStatement;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author：liuchangjun
 * @Date：2021/10/27
 */
public interface Executor {

    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws SQLException, ClassNotFoundException, NoSuchFieldException, IllegalAccessException, IntrospectionException, InstantiationException, InvocationTargetException;
}
